package com.itheima.dao;

import com.github.pagehelper.Page;
import com.itheima.pojo.CheckGroup;
import com.itheima.pojo.CheckItem;

import java.util.List;
import java.util.Map;

public interface CheckGroupDao {


    public void add(CheckGroup checkGroup);
    public void setCheckGroupAndCheckItem(Map map);
    public Page<CheckItem> findByCondition(String queryString);
    public CheckGroup findById(Integer id);

    public List<Integer> findCheckItemIdByCheckGroupId(Integer id);

    public void edit(CheckGroup checkGroup);

    void upsetCheckGroupAndCheckItem(Integer id);

    void delete(Integer id);
}
